home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / snpd9611.zip / EXTKWORD.H < prev    next >
Text File  |  1996-11-24  |  2KB  |  63 lines

  1. .I 0 1
  2. /* +++Date last modified: 28-Sep-1996 */
  3. .D 1 1
  4. .I 2 2
  5. /*====================================================================
  6.  
  7. .I 14 5
  8.     25-Sep-95  Bob Stout      Original from PC-PORT.H
  9.     30-Mar-96  Ed Blackman  OS/2 mods for OS/2 ver 2.0 and up
  10.     30-May-96  Andrew Clarke  Added support for WATCOM C/C++ __NT__ macro.
  11.     17-Jun-96  Bob Stout      Added __FLAT__ macros support
  12.     20-Aug-96  Bob Stout      Eliminate Win32 conflicts
  13. .D 15 1
  14. .I 20 1
  15. #ifndef EXTKWORD__H
  16. .D 21 1
  17. .I 24 20
  18. **  Watcom defines __FLAT__ for 32-bit environments and so will we
  19. */
  20.  
  21. #if !defined(__FLAT__) && !defined(__WATCOMC__) && !defined(_MSC_VER)
  22.  #if defined(__GNUC__)
  23.   #define __FLAT__ 1
  24.  #elif defined (_WIN32) || defined(WIN32) || defined(__NT__)
  25.   #define __FLAT__ 1
  26.  #elif defined(__INTSIZE)
  27.   #if (4 == __INTSIZE)
  28.    #define __FLAT__ 1
  29.   #endif
  30.  #elif (defined(__ZTC__) && !defined(__SC__)) || defined(__TURBOC__)
  31.   #if (4==sizeof(int))                          /* Technically illegal  */
  32.    #define __FLAT__ 1
  33.   #endif
  34.  #endif
  35. #endif
  36.  
  37. /*
  38. .I 27 2
  39. #if defined(__OS2__)        /* EBB: not sure this works for OS/2 1.x */
  40.  #include <os2def.h>
  41. .D 28 2
  42. .I 31 12
  43. #elif defined(_WIN32) || defined(WIN32) || defined(__NT__)
  44.  #define WIN32_LEAN_AND_MEAN
  45.  #define NOGDI
  46.  #define NOSERVICE
  47.  #undef INC_OLE1
  48.  #undef INC_OLE2
  49.  #include <windows.h>
  50.  #define INTERRUPT
  51.  #define HUGE
  52. #else /* ! Win 32 or OS/2 */
  53.  #if (defined(__POWERC) || (defined(__TURBOC__) && !defined(__BORLANDC__)) \
  54.        || (defined(__ZTC__) && !defined(__SC__))) && !defined(__FLAT__)
  55. .D 32 3
  56. .I 38 2
  57.   #if (defined(__ZTC__) && !defined(__SC__)) || (defined(__SC__) && \
  58.         (__SC__ < 0x700))
  59. .D 39 1
  60. .I 46 1
  61.   #if (defined(__MSDOS__) || defined(MSDOS)) && !defined(__FLAT__)
  62. .D 47 1
  63.